<div id="pageoptions">
    <% if params[:relationship_id] %>
        <%= link_to "< all shared stories", {# link_to options
                :controller => 'story',
                :action => 'shared_stories'} %> | 
        <%= link_to "< #{@owner.first_name} #{@owner.last_name}'s shared stories", {# link_to options
                :controller => 'story',
                :action => 'shared_stories',
                :relationship_id => params[:relationship_id]} %>
    <% else %>
        <%= link_to "< back to story list", {# link_to options
                :controller => 'story',
                :action => 'index'} %> | 
        <%= link_to "new story", {# link_to options
                :controller => 'story',
                :action => 'new'} %>
    <% end %>
    
</div>